import {
	GET,
	POST,
	POSTJSON,
	PUT,
	DELETE,
	POSTFORM
} from './index'

// 获取 banner列表
const BMTIBMTIType = params => {
	const url = '/Web/BMTI/BMTIType.ashx';
	return new Promise(resolve => {
		POSTJSON(url, params).then(res => {
			if (res) {
				if (res.success === true) {
					resolve(res.data)
				}
			}
		})
	})
}


const BMTIBMTIDetail = params => {
	const url = '/Web/BMTI/BMTIDetail.ashx';
	return new Promise(resolve => {
		POSTJSON(url, params).then(res => {
			if (res) {
				if (res.success === true) {
					resolve(res.data)
				}
			}
		})
	})
}





module.exports = {
	BMTIBMTIType,				//  获取首页
	BMTIBMTIDetail 
	
}
